Bitmap Constructor(Int32,Int32,Int32,BitsPerPixel,Byte[])
In This Topic
Intializes a new instance of the Bitmap class with the specified size color format (color planes and bits-per-pixel).
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As BitsPerPixel, _
ByVal () As Byte _
)
public Bitmap(
int ,
int ,
int ,
BitsPerPixel ,
byte[]
)
Parameters
- width
- The width, in pixels, of the new Bitmap object.
- height
- The height, in pixels, of the new Bitmap object.
- planes
- Specifies the number of planes for the target device. This value must be set to 1.
- bitsPerPixel
- The number of bits required to identify the color of a single pixel.
- data
- The pattern data array.
See Also